package com.fly.springbootTemplate.entity;

public class Book {
    private Integer id;
    private Integer book_id;
    private String book_name;
    private String author;

    //无参构造
    public Book() {
    }
    //有参构造
    public Book(Integer id, Integer book_id, String book_name, String author) {
        this.id = id;
        this.book_id = book_id;
        this.book_name = book_name;
        this.author = author;
    }
    //get、set方法


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBook_id() {
        return book_id;
    }

    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
